package com.stormrage.entity.learn.req;

import java.io.Serializable;

/**
 * @Title: LeaStudentReq.java
 * @Package com.stormrage.entity.learn.req
 * @Description: 学员 请求 类
 * @author www.stormragetech.com
 * @date 2016年4月15日
 * @version V1.0
 */
public class LeaStudentReq implements Serializable {

	// ------------------------------- Fields -------------------------------

	private static final long serialVersionUID = -5611264772432454910L;

	// ------------------------------- Fields -------------------------------

	private Integer acctId;

	private Integer bunchId;

	private Integer termId;

	private Integer majorId;

	// ------------------------------- Fields -------------------------------

	public LeaStudentReq() {

	}

	public LeaStudentReq(Integer acctId, Integer termId) {
		this.acctId = acctId;
		this.termId = termId;
	}

	// ------------------------------- Fields -------------------------------

	public Integer getAcctId() {
		return acctId;
	}

	public void setAcctId(Integer acctId) {
		this.acctId = acctId;
	}

	public Integer getBunchId() {
		return bunchId;
	}

	public void setBunchId(Integer bunchId) {
		this.bunchId = bunchId;
	}

	public Integer getTermId() {
		return termId;
	}

	public void setTermId(Integer termId) {
		this.termId = termId;
	}

	public Integer getMajorId() {
		return majorId;
	}

	public void setMajorId(Integer majorId) {
		this.majorId = majorId;
	}

	// ------------------------------- Fields -------------------------------

	public static LeaStudentReq instance(Integer acctId, Integer termId, Integer majorId) {
		LeaStudentReq entity = new LeaStudentReq();
		entity.setAcctId(acctId);
		entity.setTermId(termId);
		entity.setMajorId(majorId);
		return entity;
	}

	public static LeaStudentReq instance(Integer acctId, Integer bunchId) {
		LeaStudentReq entity = new LeaStudentReq();
		entity.setAcctId(acctId);
		entity.setBunchId(bunchId);
		return entity;
	}

	@Override
	public String toString() {
		return this.getClass() + " : acctId - " + acctId + " bunchId - " + bunchId + " termId - " + termId
				+ " majorId - " + majorId;
	}

}
